package com.neusoft.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单和商品关联表
 *
 * @author Lucifer
 * @since 2021/5/16 14:51
 */
@Data
@TableName("order_item_rel")
@ApiModel("购物车和商品关联表-order_item_rel")
public class OrderItemRel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单ID")
    private Integer order_id;

    @ApiModelProperty("商品ID")
    private Integer item_id;
}
